<?php 
// TODO: layout -> query area,  main area, main area could be History, My Vacabulary, or root dictionary
// TODO: root dictionary -> external web
// TODO: root dictionary -> build in 1. open in index page 2. open in tab
// TODO: dictionary list   


/*
 * 
INSERT INTO dict_dictionary(  url, name, enabled, description, `order`) VALUES
('http://www.etymonline.com/index.php?term={query_word}' ,'etymonline', true, '', 1) ,
('http://www.ldoceonline.com/search/?q={query_word}' , 'longman', true, '', 2) ,
('http://dictionary.reference.com/browse/{query_word}' , 'dctionary', true, '', 3) ,
('http://www.collinslanguage.com/results.aspx?context=4&reversed=False&action=define&homonym=0&text={query_word}' ,'collins', true, '', 4) ,
('http://www.flickr.com/search/?m=text&q={query_word}' ,'flickr', true, '', 5) ,
('http://www.oup.com/oald-bin/web_getald7index1a.pl?search_word={query_word}' ,'oup', true, '', 6) ,
('http://dictionary.cambridge.org/results.asp?dict=CALD&searchword={query_word}' ,'cambridge', true, '', 7) ,
('http://www.macmillandictionary.com/dictionary/american/{query_word}' ,'macmilland', true, '', 8) ,
('http://www.thefreedictionary.com/{query_word}' ,'the free dictionary', true, '', 9) ,
('http://tw.dictionary.yahoo.com/search?ei=UTF-8&p={query_word}'  , 'yahoo', true, '', 10) ,
('http://thesaurus.reference.com/browse/{query_word}' , 'forum', true, '', 11) ,
('http://encarta.msn.com/dictionary_/{query_word}.html', 'encarta_dictionary', true, '', 12) ,
('http://www.merriam-webster.com/dictionary/{query_word}'  , 'merriam_webster', true, '', 13) ,
('http://www.answers.com/{query_word}'  , 'answers', true, '', 14) ,
('http://en.wiktionary.org/wiki/{query_word}'  , 'wiktionary', true, '', 15) ,
('http://en.wikipedia.org/wiki/{query_word}'  , 'wikipedia', true, '', 16) ,
('http://www.dreye.com:8080/axis/ddict.jsp?ver=big5&w={query_word}'  , 'dreye', true, '', 17) ,
('http://www.etymonline.com/index.php?term={query_word}' ,'etymonline', true, '', 18) ,
('http://www.mnemonicdictionary.com/word/{query_word}' ,'mnemonic', true, '', 19);

 * 
 * 
 */